package com.cmcc.waf.report.service;

import com.cmcc.waf.report.feign.OpenAPIFeign;
import com.cmcc.waf.report.feign.model.ResponseVO;
import com.cmcc.waf.report.feign.model.SrcIpTopVO;
import com.cmcc.waf.report.feign.model.WebSafeRequest;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.time.LocalDateTime;
import java.time.format.DateTimeFormatter;
import java.util.List;

@Service
public class AttackSrcService {
    @Autowired
    private OpenAPIFeign feign;

    public ResponseVO<List<SrcIpTopVO>> getSrcIpTop5(WebSafeRequest request){
        return feign.getSrcIpTop5(request);
    }
}
